<template>
  <div class="container">
    <div class="edit-article-container width">
      <EditAddArticle type="edit" :is_draft="is_draft" />
    </div>
  </div>
</template>

<script>
export default {
  computed: {
    is_draft() {
      return this.$route.query.is_draft === 'true'
    }
  }
}
</script>

<style lang="scss" scoped>
.container {
  border-top: 1px solid #fff;
  background-color: #f2f3f5;
}
.edit-article-container {
  margin-top: 100px;
  background-color: #fff;
}
</style>
